echo "Must be run as administrator"

echo "Deleting previou versions of Total_Mayhem"
gci "C:\Program Files (x86)\Outercurve\Mayhem" | Where {$_.psIsContainer -eq $true -and $_.Name.StartsWith("Total_Mayhem")} | remove-item -recurse -force